package com.jt.helloworld.controller;


import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@Tag(name = "首页模块")
@RestController
@RequestMapping(value = "/main")
public class MainController {

    @Operation(summary = "测试", description = "测试")
    @RequestMapping(value="/test", method = RequestMethod.GET)
    public String test(){
        return "test success";
    }
}
